[INFO] cloning repository https://github.com/proxin187/bitforge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/proxin187/bitforge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproxin187%2Fbitforge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproxin187%2Fbitforge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 668973e6504857cc766b048593c031f9d75687ac
[INFO] fixing proxin187/bitforge against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproxin187%2Fbitforge" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/proxin187/bitforge
[INFO] finished tweaking git repo https://github.com/proxin187/bitforge
[INFO] tweaked toml for git repo https://github.com/proxin187/bitforge written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/proxin187/bitforge on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/proxin187/bitforge already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a29c8bb143bac03364158c6296c76b395a51796c5f05ef9c28206d3cd8720fb2
[INFO] running `Command { std: "docker" "start" "a29c8bb143bac03364158c6296c76b395a51796c5f05ef9c28206d3cd8720fb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a29c8bb143bac03364158c6296c76b395a51796c5f05ef9c28206d3cd8720fb2" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a29c8bb143bac03364158c6296c76b395a51796c5f05ef9c28206d3cd8720fb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a29c8bb143bac03364158c6296c76b395a51796c5f05ef9c28206d3cd8720fb2" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking miniz_oxide v0.8.3
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]     Checking clap_builder v4.5.26
[INFO] [stderr]     Checking ruzstd v0.7.3
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking flate2 v1.0.35
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking env_logger v0.11.6
[INFO] [stderr]    Compiling clap_derive v4.5.24
[INFO] [stderr]     Checking clap v4.5.26
[INFO] [stderr]     Checking sandbox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/emu/jit.rs (1 fix)
[INFO] [stderr]        Fixed src/emu/memory.rs (4 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/emu/mod.rs:117:60
[INFO] [stdout]     |
[INFO] [stdout] 117 |                 info!("register: {:?}, imm8: {}", unsafe { CONTEXT.get_register(&register) }, imm8);
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/emu/mod.rs:119:43
[INFO] [stdout]     |
[INFO] [stdout] 119 |                 self.eflags.ZF = unsafe { CONTEXT.get_register(&register) } == imm8 as u64;
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.03s
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/emu/mod.rs:117:60
[INFO] [stdout]     |
[INFO] [stdout] 117 |                 info!("register: {:?}, imm8: {}", unsafe { CONTEXT.get_register(&register) }, imm8);
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/emu/mod.rs:119:43
[INFO] [stdout]     |
[INFO] [stdout] 119 |                 self.eflags.ZF = unsafe { CONTEXT.get_register(&register) } == imm8 as u64;
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: sandbox v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking sandbox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `AccessKind`
[INFO] [stdout]  --> src/emu/translate.rs:1:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::instruction::{MemoryAddr, AccessKind};
[INFO] [stdout]   |                                      ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `memory`
[INFO] [stdout]  --> src/emu/translate.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::emu::{CONTEXT, memory};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/emu/jit.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::emu::{self, Context, CONTEXT, Translate};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use log::info;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(naked_functions)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AccessKind`
[INFO] [stdout]  --> src/emu/translate.rs:1:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::instruction::{MemoryAddr, AccessKind};
[INFO] [stdout]   |                                      ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `memory`
[INFO] [stdout]  --> src/emu/translate.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::emu::{CONTEXT, memory};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/emu/jit.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::emu::{self, Context, CONTEXT, Translate};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use log::info;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(naked_functions)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:166:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 166 |         Register::Rax => unsafe { CONTEXT.rax = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:167:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 167 |         Register::Rcx => unsafe { CONTEXT.rcx = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:168:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 168 |         Register::Rdx => unsafe { CONTEXT.rdx = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:169:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 169 |         Register::Rbx => unsafe { CONTEXT.rbx = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:170:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 170 |         Register::Rsp => unsafe { CONTEXT.rsp = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:171:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 171 |         Register::Rbp => unsafe { CONTEXT.rbp = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:172:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 172 |         Register::Rsi => unsafe { CONTEXT.rsi = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:173:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 173 |         Register::Rdi => unsafe { CONTEXT.rdi = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/emu/translate.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let ctx_addr = (unsafe { addr_of!(CONTEXT) as usize }).to_ne_bytes()
[INFO] [stdout]    |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/main.rs:47:26
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Command::Trace { path } => {
[INFO] [stdout]    |                          ^^^^ help: try ignoring the field: `path: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Both` is never constructed
[INFO] [stdout]   --> src/instruction/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum AccessKind {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     Both,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rex` is never read
[INFO] [stdout]   --> src/instruction/mod.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Instruction {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub rex: Option<u8>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `CF`, `OF`, `SF`, `AF`, and `PF` are never read
[INFO] [stdout]   --> src/emu/mod.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct Eflags {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 67 |     CF: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 68 |     OF: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 69 |     SF: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 70 |     ZF: bool,
[INFO] [stdout] 71 |     AF: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 72 |     PF: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Eflags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `segments` is never used
[INFO] [stdout]    --> src/emu/memory.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub fn segments() -> Result<Vec<Segment>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/instruction/mod.rs:57:26
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn memory_access(&self) -> Option<Access> {
[INFO] [stdout]    |                          ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn memory_access(&self) -> Option<Access<'_>> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `CF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     CF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `cf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     OF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `of`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `SF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |     SF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `sf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ZF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     ZF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `zf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `AF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     AF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `af`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `PF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     PF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `pf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/emu/mod.rs:117:60
[INFO] [stdout]     |
[INFO] [stdout] 117 |                 info!("register: {:?}, imm8: {}", unsafe { CONTEXT.get_register(&register) }, imm8);
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/emu/mod.rs:119:43
[INFO] [stdout]     |
[INFO] [stdout] 119 |                 self.eflags.ZF = unsafe { CONTEXT.get_register(&register) } == imm8 as u64;
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sandbox` (bin "sandbox") due to 2 previous errors; 26 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:166:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 166 |         Register::Rax => unsafe { CONTEXT.rax = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:167:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 167 |         Register::Rcx => unsafe { CONTEXT.rcx = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:168:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 168 |         Register::Rdx => unsafe { CONTEXT.rdx = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:169:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 169 |         Register::Rbx => unsafe { CONTEXT.rbx = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:170:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 170 |         Register::Rsp => unsafe { CONTEXT.rsp = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:171:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 171 |         Register::Rbp => unsafe { CONTEXT.rbp = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:172:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 172 |         Register::Rsi => unsafe { CONTEXT.rsi = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/emu/memory.rs:173:26
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub unsafe extern "sysv64" fn _read_raw64(register: Register, addr: *const MemoryAddr) { unsafe {
[INFO] [stdout]     |                                                                                          ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 173 |         Register::Rdi => unsafe { CONTEXT.rdi = value },
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/emu/translate.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let ctx_addr = (unsafe { addr_of!(CONTEXT) as usize }).to_ne_bytes()
[INFO] [stdout]    |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/main.rs:47:26
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Command::Trace { path } => {
[INFO] [stdout]    |                          ^^^^ help: try ignoring the field: `path: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Both` is never constructed
[INFO] [stdout]   --> src/instruction/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum AccessKind {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     Both,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rex` is never read
[INFO] [stdout]   --> src/instruction/mod.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Instruction {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub rex: Option<u8>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `CF`, `OF`, `SF`, `AF`, and `PF` are never read
[INFO] [stdout]   --> src/emu/mod.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct Eflags {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 67 |     CF: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 68 |     OF: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 69 |     SF: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 70 |     ZF: bool,
[INFO] [stdout] 71 |     AF: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 72 |     PF: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Eflags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/instruction/mod.rs:57:26
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn memory_access(&self) -> Option<Access> {
[INFO] [stdout]    |                          ^^^^^            ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn memory_access(&self) -> Option<Access<'_>> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `CF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     CF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `cf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     OF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `of`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `SF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |     SF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `sf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ZF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     ZF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `zf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `AF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 |     AF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `af`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `PF` should have a snake case name
[INFO] [stdout]   --> src/emu/mod.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     PF: bool,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `pf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/emu/mod.rs:117:60
[INFO] [stdout]     |
[INFO] [stdout] 117 |                 info!("register: {:?}, imm8: {}", unsafe { CONTEXT.get_register(&register) }, imm8);
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/emu/mod.rs:119:43
[INFO] [stdout]     |
[INFO] [stdout] 119 |                 self.eflags.ZF = unsafe { CONTEXT.get_register(&register) } == imm8 as u64;
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sandbox` (bin "sandbox" test) due to 2 previous errors; 25 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a29c8bb143bac03364158c6296c76b395a51796c5f05ef9c28206d3cd8720fb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a29c8bb143bac03364158c6296c76b395a51796c5f05ef9c28206d3cd8720fb2", kill_on_drop: false }`
[INFO] [stdout] a29c8bb143bac03364158c6296c76b395a51796c5f05ef9c28206d3cd8720fb2
